<html>
<head>
<title>我要排队</title>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width,initial-scale=1,user-scalable=no">
<link href="https://res.wx.qq.com/open/libs/weui/1.1.2/weui.min.css"
	rel="stylesheet" type="text/css">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script src="../../js/angular.min.js"></script>
<script src="../../control/beginLineUp.js"></script>
<script src="../../js/common.js"></script>
<script src="../../../../common/jquery-3.3.1.min.js"></script>
<script>

$(document).ready(function(){
	var Request=new UrlSearch();
	var code=Request.code;
	var url="/yuea/currentLineUp/getCurrentLineUp?userPageAuthCode="+code;
	 $.ajax({
         url: url,
         success: function(response) {
             if(response.state=="BUSI_STATE_OK"){
            	 if(null!=response.data){
            		 alert(1);
            	 }else{
            		 //$("#div_show_block").toggleClass("div_show_block");
            	 }
             }
         }
     })
});
</script>
</head>
<body>
	<div id="beginLineUpDiv" class="div_hidden">
		<div ng-app="haircutApp" ng-controller="haircutCtrl">
			<div class="weui-panel__bd">
				<div class="weui-media-box weui-media-box_appmsg">
					<div class="weui-media-box__hd">
						<img class="weui-media-box__thumb"
							src=""
							alt="">
					</div>
					<div class="weui-cell__bd">
						<p>尊敬的顾客您好，欢迎光临本店，祝您生活愉快！</p>
					</div>
				</div>
			</div>
	
			<div class="weui-cell weui-cell_access">
				<span>当前服务状态</span>
			</div>
	
			<div class="weui-form-preview__bd" style="padding: 0px 15px">
				<div class="weui-form-preview__item">
					<label class="weui-form-preview__label">前方排队人数：</label> <span
						class="weui-form-preview__value">9人</span>
				</div>
				<div class="weui-form-preview__item">
					<label class="weui-form-preview__label">大约等待时间：</label> <span
						class="weui-form-preview__value">1小时20分钟</span>
				</div>
			</div>
	
			<div class="weui-cell weui-cell_access" style="padding-top: 15px">
				<span>请选择服务项目</span>
			</div>
	
			<div class="weui-cell weui-cell_select weui-cell_select-after">
				<div class="weui-cell__hd">
					<label for="" class="weui-label">剪发:</label>
				</div>
				<div class="weui-cell__hd">
					<span ng-class="{true:'selected',false:'unselected'}[isHaircut1]"
						ng-click="selectPeople('haircut_1')">1人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHaircut2]"
						ng-click="selectPeople('haircut_2')">2人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHaircut3]"
						ng-click="selectPeople('haircut_3')">3人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHaircut99]"
						ng-click="selectPeople('haircut_99')">更多</span>
				</div>
				<!-- <div class="weui-cell__bd">
				<select class="weui-select" name="select2">
					<option value="1">1人</option>
					<option value="2">2人</option>
					<option value="3">3人</option>
				</select>
			</div> -->
			</div>
	
			<div class="weui-cell weui-cell_select weui-cell_select-after">
				<div class="weui-cell__hd">
					<label for="" class="weui-label">烫发:</label>
				</div>
				<div class="weui-cell__hd">
					<span ng-class="{true:'selected',false:'unselected'}[isPerm1]"
						ng-click="selectPeople('perm_1')">1人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isPerm2]"
						ng-click="selectPeople('perm_2')">2人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isPerm3]"
						ng-click="selectPeople('perm_3')">3人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isPerm99]"
						ng-click="selectPeople('perm_99')">更多</span>
				</div>
			</div>
	
			<div class="weui-cell weui-cell_select weui-cell_select-after">
				<div class="weui-cell__hd">
					<label for="" class="weui-label">染发:</label>
				</div>
				<div class="weui-cell__hd">
					<span ng-class="{true:'selected',false:'unselected'}[isHairDye1]"
						ng-click="selectPeople('hairDye_1')">1人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHairDye2]"
						ng-click="selectPeople('hairDye_2')">2人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHairDye3]"
						ng-click="selectPeople('hairDye_3')">3人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHairDye99]"
						ng-click="selectPeople('hairDye_99')">更多</span>
				</div>
			</div>
	
			<div class="weui-cell weui-cell_select weui-cell_select-after">
				<div class="weui-cell__hd">
					<label for="" class="weui-label">洗头:</label>
				</div>
				<div class="weui-cell__hd">
					<span ng-class="{true:'selected',false:'unselected'}[isHairWash1]"
						ng-click="selectPeople('hairWash_1')">1人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHairWash2]"
						ng-click="selectPeople('hairWash_2')">2人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHairWash3]"
						ng-click="selectPeople('hairWash_3')">3人</span> <span
						ng-class="{true:'selected',false:'unselected'}[isHairWash99]"
						ng-click="selectPeople('hairWash_99')">更多</span>
				</div>
			</div>
			<div class="button-sp-area" style="padding: 10px 15px"
				ng-click="onSubmmit()">
				<a href="javascript:;" class="weui-btn weui-btn_primary">现在排队</a>
			</div>
		</div>
	</div>
</body>
</html>